package com.ruoyi.generateTest.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 试题对象 test_paper
 *
 * @author 经纬线
 * @date 2024-07-10
 */
public class TestPaper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 试题id */
    private Long testId;

    /** 所属题库 */
    @Excel(name = "所属题库")
    private String belongingQuestionBank;

    /** 试题文件 */
    @Excel(name = "试题文件")
    private String testFile;

    public void setTestId(Long testId)
    {
        this.testId = testId;
    }

    public Long getTestId()
    {
        return testId;
    }
    public void setBelongingQuestionBank(String belongingQuestionBank)
    {
        this.belongingQuestionBank = belongingQuestionBank;
    }

    public String getBelongingQuestionBank()
    {
        return belongingQuestionBank;
    }
    public void setTestFile(String testFile)
    {
        this.testFile = testFile;
    }

    public String getTestFile()
    {
        return testFile;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("testId", getTestId())
                .append("belongingQuestionBank", getBelongingQuestionBank())
                .append("testFile", getTestFile())
                .toString();
    }
}
